/**
 * 
 */
package com.lanswon.qzsmk.base;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author sun
 *
 */
@Component
public class PathContants {
	
	public static final String separator="/";
	
	public static String FTP_URL;
	
	public static int FTP_PORT;
	
	public static String FTP_USERNAME;
	
	public static String FTP_PASSWORD;
	
	public static String FTP_ROOT;
	
	public static String FTP_PROTOCOL;

	public static String FTP_CATALOG;
	
	public static String FTP_PATH_PHOTO;
	
	public static String FTP_PATH_EXCEL;
	
	public static String FTP_PATH_CARDNOAUTONOMY;
	
	public static String FTP_PATH_ENCLOSURE;
	
	public static String PROJECT_PATH_UPLOADIMAGES;
	
	public static String PROJECT_PATH_TEMP;
	
	public static String PROJECT_PATH_EXCEL;
	
	public static String PROJECT_PATH_IMG;
	
	public static String PROJECT_PATH_IMG_IMPORTED;
	
	public static String PROJECT_PATH_EXCEL_IMPORTED;
	
	//20181212 HGL 新增以下1行
	public static String PROJECT_PATH_MAKECARDRETURNFILE;
	
	public static String PROJECT_PATH_ENCLOSURE_IMPORTED;
	
	public static String PROJECT_PATH_CERT_IMPORTED;
	
	public static String PROJECT_PATH_DOWNLOAD_EXCEPTIONDATA;
	
	public static String PROJECT_PATH_DOWNLOAD_BATCHSELLCARDINFO;
	
	public static String PROJECT_PATH_DOWNLOAD_MAKECARDFILE_SR;
	
	public static String FTP_PATH_GENERATEDCARDNO;
	
	public static String HTTP_ROOT;
	
	public static String FTP_PATH_MAKECARDFILE;
	
	public static String PROJECT_PATH_DOWNLOAD_APPLICATIONTEMPLATE;
	
	public static String MESSAGE_SERVICE_IP;
	
	public static String MESSAGE_SERVICE_PATH;
	
	public static String FTP_PATH_OPENBIKEAPP;
	
	@Value("#{pathConfig['project.path.downloadFile_batchSellCardInfo']}")
	public void setPROJECT_PATH_DOWNLOAD_BATCHSELLCARDINFO(String pROJECT_PATH_DOWNLOAD_BATCHSELLCARDINFO) {
		PROJECT_PATH_DOWNLOAD_BATCHSELLCARDINFO = pROJECT_PATH_DOWNLOAD_BATCHSELLCARDINFO;
	}

	@Value("#{pathConfig['ftp.path.openBikeApp']}")
	public void setFTP_PATH_OPENBIKEAPP(String fTP_PATH_OPENBIKEAPP) {
		FTP_PATH_OPENBIKEAPP = fTP_PATH_OPENBIKEAPP;
	}

	@Value("#{pathConfig['project.path.cert_imported']}")
	public void setPROJECT_PATH_CERT_IMPORTED(String pROJECT_PATH_CERT_IMPORTED) {
		PathContants.PROJECT_PATH_CERT_IMPORTED = pROJECT_PATH_CERT_IMPORTED;
	}

	@Value("#{pathConfig['project.path.downloadFile_makeCardFile']}")
	public void setPROJECT_PATH_DOWNLOAD_MAKECARDFILE_SR(String PROJECT_PATH_DOWNLOAD_MAKECARDFILE_SR) {
		PathContants.PROJECT_PATH_DOWNLOAD_MAKECARDFILE_SR = PROJECT_PATH_DOWNLOAD_MAKECARDFILE_SR;
	}


	@Value("#{pathConfig['project.path.downloadFile_exceptionData']}")
	public void setPROJECT_PATH_DOWNLOAD_EXCEPTIONDATA(String PROJECT_PATH_DOWNLOAD_EXCEPTIONDATA) {
		PathContants.PROJECT_PATH_DOWNLOAD_EXCEPTIONDATA = PROJECT_PATH_DOWNLOAD_EXCEPTIONDATA;
	}

	@Value("#{pathConfig['ftp.catalog']}")
	public void setFTP_CATALOG(String fTP_CATALOG) {
		PathContants.FTP_CATALOG = fTP_CATALOG;
	}

	@Value("#{pathConfig['ftp.path.photo']}")
	public void setFTP_PATH_PHOTO(String fTP_PATH_PHOTO) {
		PathContants.FTP_PATH_PHOTO = fTP_PATH_PHOTO;
	}

	@Value("#{pathConfig['ftp.path.excel']}")
	public void setFTP_PATH_EXCEL(String fTP_PATH_EXCEL) {
		PathContants.FTP_PATH_EXCEL = fTP_PATH_EXCEL;
	}

	@Value("#{pathConfig['ftp.path.enclosure']}")
	public void setFTP_PATH_ENCLOSURE(String fTP_PATH_ENCLOSURE) {
		PathContants.FTP_PATH_ENCLOSURE = fTP_PATH_ENCLOSURE;
	}

	@Value("#{pathConfig['project.path.uploadImages']}")
	public void setPROJECT_PATH_UPLOADIMAGES(String pROJECT_PATH_UPLOADIMAGES) {
		PathContants.PROJECT_PATH_UPLOADIMAGES = pROJECT_PATH_UPLOADIMAGES;
	}

	@Value("#{pathConfig['project.path.temp']}")
	public void setPROJECT_PATH_TEMP(String pROJECT_PATH_TEMP) {
		PathContants.PROJECT_PATH_TEMP = pROJECT_PATH_TEMP;
	}

	@Value("#{pathConfig['project.path.excel']}")
	public void setPROJECT_PATH_EXCEL(String pROJECT_PATH_EXCEL) {
		PathContants.PROJECT_PATH_EXCEL = pROJECT_PATH_EXCEL;
	}

	@Value("#{pathConfig['project.path.img']}")
	public void setPROJECT_PATH_IMG(String pROJECT_PATH_IMG) {
		PathContants.PROJECT_PATH_IMG = pROJECT_PATH_IMG;
	}

	@Value("#{pathConfig['project.path.img_imported']}")
	public void setPROJECT_PATH_IMG_IMPORTED(String pROJECT_PATH_IMG_IMPORTED) {
		PathContants.PROJECT_PATH_IMG_IMPORTED = pROJECT_PATH_IMG_IMPORTED;
	}

	@Value("#{pathConfig['project.path.excel_imported']}")
	public void setPROJECT_PATH_EXCEL_IMPORTED(String pROJECT_PATH_EXCEL_IMPORTED) {
		PathContants.PROJECT_PATH_EXCEL_IMPORTED = pROJECT_PATH_EXCEL_IMPORTED;
	}

	@Value("#{pathConfig['project.path.enclosure_imported']}")
	public void setPROJECT_PATH_ENCLOSURE_IMPORTED(String pROJECT_PATH_ENCLOSURE_IMPORTED) {
		PathContants.PROJECT_PATH_ENCLOSURE_IMPORTED = pROJECT_PATH_ENCLOSURE_IMPORTED;
	}
	
	@Value("#{pathConfig['ftp.url']}")
	public void setFTP_URL(String fTP_URL) {
		PathContants.FTP_URL = fTP_URL;
	}

	@Value("#{pathConfig['ftp.port']}")
	public void setFTP_PORT(int fTP_PORT) {
		PathContants.FTP_PORT = fTP_PORT;
	}

	@Value("#{pathConfig['ftp.username']}")
	public void setFTP_USERNAME(String fTP_USERNAME) {
		PathContants.FTP_USERNAME = fTP_USERNAME;
	}

	@Value("#{pathConfig['ftp.password']}")
	public void setFTP_PASSWORD(String fTP_PASSWORD) {
		PathContants.FTP_PASSWORD = fTP_PASSWORD;
	}


	@Value("#{pathConfig['ftp.root']}")
	public void setFTP_ROOT(String fTP_ROOT) {
		PathContants.FTP_ROOT = fTP_ROOT;
	}


	@Value("#{pathConfig['ftp.protocol']}")
	public void setFTP_PROTOCOL(String fTP_PROTOCOL) {
		PathContants.FTP_PROTOCOL = fTP_PROTOCOL;
	}

	@Value("#{pathConfig['ftp.path.generatedCardNo']}")
	public void setFTP_PATH_GENERATEDCARDNO(String ftp_generatedCardNo){
		PathContants.FTP_PATH_GENERATEDCARDNO=ftp_generatedCardNo;
	}
	
	@Value("#{pathConfig['http.root']}")
	public void setHTTP_ROOT(String http_root){
		PathContants.HTTP_ROOT=http_root;
	}

	@Value("#{pathConfig['ftp.path.makeCard']}")
	public void setFTP_PATH_MAKECARDFILE(String ftp_makeCardFile){
		PathContants.FTP_PATH_MAKECARDFILE=ftp_makeCardFile;
	}

	@Value("#{pathConfig['project.path.downloadFile_applicationTemplate']}")
	public void setPROJECT_PATH_DOWNLOAD_APPLICATIONTEMPLATE(String path_appliactionTemp){
		PathContants.PROJECT_PATH_DOWNLOAD_APPLICATIONTEMPLATE=path_appliactionTemp;
	}
	
	@Value("#{pathConfig['message.service.ip']}")
	public void setMESSAGE_SERVICE_IP(String message_service_ip){
		PathContants.MESSAGE_SERVICE_IP=message_service_ip;
	}
	
	@Value("#{pathConfig['message.service.path']}")
	public void setMESSAGE_SERVICE_PATH(String message_service_path){
		PathContants.MESSAGE_SERVICE_PATH=message_service_path;
	}
	
	@Value("#{pathConfig['project.path.makeCardReturnFile']}")
	public void setPROJECT_PATH_MAKECARDRETURNFILE(String pPROJECT_PATH_MAKECARDRETURNFILE) {
		PathContants.PROJECT_PATH_MAKECARDRETURNFILE = pPROJECT_PATH_MAKECARDRETURNFILE;
	}
	
	@Value("#{pathConfig['ftp.path.cardNoAutonomy']}")
	public void setFTP_PATH_CARDNOAUTONOMY(String FTP_PATH_CARDNOAUTONOMY) {
		PathContants.FTP_PATH_CARDNOAUTONOMY = FTP_PATH_CARDNOAUTONOMY;
	}

public static void main(String[] args) {
	System.out.println(PathContants.MESSAGE_SERVICE_IP);

}
	
}
